<?php
namespace Kuoqi\Worker;

final class Signal{

    /**
     * 信号标识
     * @var int
     * User kuoqi
     * Datetime 2022/3/27 11:37
     * Remark
     */
    public static $signo = 0;

    /**
     * 初始化ini
     * @var null
     * User kuoqi
     * Datetime 2022/3/27 11:37
     * Remark
     */
    protected static $ini = null;

    /**
     * 设置signo
     * @param $signo
     * User kuoqi
     * Datetime 2022/3/27 11:37
     * Remark
     */
    public static function set($signo){
        self::$signo = $signo;
    }

    /**
     * 获取
     * @return int
     * User kuoqi
     * Datetime 2022/3/27 11:38
     * Remark
     */
    public static function get(){
        return(self::$signo);
    }

    /**
     * 重置
     * User kuoqi
     * Datetime 2022/3/27 11:38
     * Remark
     */
    public static function reset(){
        self::$signo = 0;
    }

}